//用法见mainRouter.js
// import {
//   Navigate,
//   useRoutes
// } from "react-router-dom";
import Group from "../pages/course-manage/group/group";
import Personal from "../pages/course-manage/personal/personal";
import AddClass from "../pages/course-manage/personal/add/add"
import Schedule from "../pages/course-manage/personal/schedule/schedule"
import Record from "../pages/course-manage/group/class/record/record"
import EditClass from "../pages/course-manage/personal/add/edit.js"
const wqxRouter = [
    {
        path: "group",
        element: <Group></Group>
    },
    {
        path: "personal",
        element: <Personal></Personal>,
    },
    {
        path: "addClass",
        element: <AddClass></AddClass>,
    },
    {
        path: "schedule",
        element: <Schedule></Schedule>,
    },
    {
        path: "editClass",
        element: <EditClass></EditClass>,
    },
    {
        path: "record",
        element: <Record></Record>,
    }

];
export default wqxRouter;
